#pragma once
#include<string>
using namespace std;
class  Observer;
class Subject
{
public:
	Subject(void){};
	~Subject(void){};
	virtual void Attach(Observer *pObserver) = 0;
	virtual void Detach(Observer *pObserver) = 0;
	virtual void Notify() = 0;
	virtual void SetData(string data) = 0;
	virtual string GetData() = 0;
};

